<?php
/**
 * Created by PhpStorm.
 * User: Aliaksei Lazerka
 * Date: 10/22/14
 * Time: 8:51 PM
 */

include_once("functions/db_manipulate.php");

createListElement($_POST['sectionId'], $_POST['rootTitle'], $_POST['fields']);

header("Location: ". $_SERVER['HTTP_REFERER']);